// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
// import store from './store'
// 网络请求框架
//这样就可以全局使用axios了，也就是vue的ajax请求
import axios from "axios"
Vue.prototype.$http=axios        // 这样设置就可以在组件内用 this.$http 使用axios了
// import qs from 'qs'
// Vue.prototype.$qs = qs
// import * as echarts from 'echarts';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.config.productionTip = false
// Vue.prototype.$echarts=echarts
Vue.use(ElementUI);
import VueCookies from 'vue-cookies';
Vue.use(VueCookies)

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
